package net.sx.minemodule.mvp.activities;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.homegoods.aroutercomment.ARouterPath;
import com.kedll.library.base.MyBaseFragmentActivity;
import com.kedll.library.mvp.BasePresenter;

import net.sx.minemodule.R;
import net.sx.minemodule.adapter.ExpanListAdapter;
import net.sx.minemodule.databinding.MineActivityCommonProblemBinding;

/**
 * add shibo.zheng
 * 19/06/17
 * 常见问题
 */
@Route(path = ARouterPath.PATH_COMMON_PROBLEM)
public class MineCommonProblemActivity extends MyBaseFragmentActivity<MineActivityCommonProblemBinding, BasePresenter> {
    private ExpanListAdapter adapter;

    @Override
    protected int getLayout() {
        return R.layout.mine_activity_common_problem;
    }

    @Override
    protected void initEvent() {
        adapter = new ExpanListAdapter();
        mBinding.mineExpanList.setAdapter(adapter);
    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        super.initData(savedInstanceState);
        setTitle("常见问题");
    }
}
